package com.cnh.o2o.dto;

import java.util.List;

import com.cnh.o2o.entity.ShopCategory;
import com.cnh.o2o.entity.ShopCategory2;
import com.cnh.o2o.enums.ShopCategoryStateEnum;

public class ShopCategoryExecution {
	// 结果状态
	private int state;

	// 状态标识
	private String stateInfo;

	private ShopCategory2 shopCategory2;

	// 操作的商铺类别
	private List<ShopCategory> shopCategoryList;

	public ShopCategoryExecution() {
	}

	public ShopCategoryExecution(ShopCategoryStateEnum stateEnum) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
	}

	public ShopCategoryExecution(ShopCategoryStateEnum stateEnum,
			ShopCategory2 shopCategory2) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
		this.shopCategory2 = shopCategory2;
	}

	public ShopCategoryExecution(ShopCategoryStateEnum stateEnum,
			List<ShopCategory> shopCategoryList) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
		this.shopCategoryList = shopCategoryList;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getStateInfo() {
		return stateInfo;
	}

	public void setStateInfo(String stateInfo) {
		this.stateInfo = stateInfo;
	}

	public ShopCategory2 getShopCategory2() {
		return shopCategory2;
	}

	public void setShopCategory2(ShopCategory2 shopCategory2) {
		this.shopCategory2 = shopCategory2;
	}

	public List<ShopCategory> getShopCategoryList() {
		return shopCategoryList;
	}

	public void setShopCategoryList(List<ShopCategory> shopCategoryList) {
		this.shopCategoryList = shopCategoryList;
	}

}
